<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-model基本使用</title>
</head>
<body>
    <div id="app">
        <input type="text" v-model="message"/>{{message}}
    </div>
</body>
    <script src="../js/vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                message: '双向绑定',
            },
            methods: {

            },
        })
    </script>
</html>